<?php

class App_Methods_Data_UserGroup {
	
	public $id;
	public $name;
	public $isBasic;
	
	public function __construct(UserGroups $group) {
		$this->id = $group->getId();
		$this->name = (Core_Core::getInstance()->getApp()->lang == 'en') ? $group->getNameEn() : $group->getName();
		$this->isBasic = (bool)$group->getBasic();
	}
	
}